<?php echo $this->render('user/sidebar.phtml') ?>

<div class='general_box'>
    <h1><span></span>
        <?php echo $this->translate("Homepage") ?>
    </h1>
</div>


<div id="icons">
    <center>
        <table cellspacing="10" cellpadding="30">
            <tr>
                <th>
                    <a href="<?= $this->url(array('controller' => 'playlist', 'action' => 'create-playlist'), 'default', true) ?>">
                    <img src="<?php echo $this->baseUrl() ?>/images/turnable-icon.png" alt="" />
                    
                    <?= $this->translate('Party Playlist') ?></a>
                </th>
                <th>
                    <a href="<?= $this->url(array('controller' => 'playlist', 'action' => 'favourite-playlist'), 'default', true) ?>">
                    <img src="<?php echo $this->baseUrl() ?>/images/love-icon.png" alt="" />
                    
                    <?= $this->translate('Favourite Tracks') ?></a>
                </th>
            </tr>
            <tr>
                <th>
                    
                    <a href="<?= $this->is_reg ? $this->url(array('controller' => 'playlist', 'action' => 'my-playlist'), 'default', true) : "javascript:alert('Only registered users can manage playlists')" ?>">
                    <img src="<?php echo $this->baseUrl() ?>/images/microphone-icon.png" alt="" />
                    
                    <?= $this->translate('My Playlists') ?></a>
                </th>
                <th>
                    <a href="<?= $this->url(array('controller' => 'playlist', 'action' => 'friends'), 'default', true) ?>">
                    <img src="<?php echo $this->baseUrl() ?>/images/disk-jockey-icon.png" alt="" />
                    
                    <?= $this->translate('My Friends') ?></a>
                </th>
            </tr>
        </table>

        <iframe src="<?= $this->escape('http://www.facebook.com/plugins/likebox.php?id=120145904715702&width=300&connections=10&stream=true&header=true&height=587') ?>" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:700px; padding-top: 40px" allowTransparency="true"></iframe>
    </center>
</div>

